﻿namespace Digitalmes.Domain.ValueObjects;

/// <summary>
/// 工位值对象。
/// </summary>
public sealed class WorkstationVo : ValueObject
{
    /// <summary>
    /// 工位Id
    /// </summary>
    public long WsId { get; set; }

    /// <summary>
    /// 工位编号
    /// </summary>
    public string? WsCode { get; set; }

    protected override IEnumerable<object> GetEqualityComponents()
    {
        yield return new object[]
        {
            WsId,
        };
    }
}
